<?php
/**
 * @var $this \Pinenut\Action
 */

$tabs = [
	'needTranslateTab' => 'Need Translate',
	'needApproveTab' => 'Need Approve',
	'doneTab' => 'Done',
	'allTab' => 'All',
];
?>


<div class="multilang_tabpanel" role="tabpanel">

	<!-- Nav tabs -->
	<ul class="nav nav-tabs" role="tablist">
<?php
		$index = 0;
		foreach ($tabs as $tabId => $title) {
?>
			<li role="presentation" class="<?php echo !$index ? 'active' : ''; ?>">
				<a href="#<?php echo $tabId; ?>"
				   aria-controls="<?php echo $tabId; ?>"
				   role="tab"
				   data-toggle="tab"><?php echo $title; ?></a>
			</li>
<?php
			$index++;
		}
?>
	</ul>

	<div>
		<div>
			<?php echo $this->action('.filterForm'); ?>
		</div>

		<!-- Tab panes -->
		<div class="tab-content ml-tab-content">

			<?php
			$index = 0;
			foreach ($tabs as $tabId => $title) {
				?>			<ul role="tabpanel" class="panel_item tab-pane" id="<?php echo $tabId; ?>"></ul><?php
				$index++;
			}
			?>
		</div>
	</div>


	<?php echo $this->action('.panelApproveForm', []); ?>
	<?php echo $this->action('.panelDeleteForm', []); ?>
</div>

<div class="panelFormContainer"></div>


